<?php
/* @var $this PushnoteController */
/* @var $model Pushnote */

$this->breadcrumbs=array(
	Yii::t('base','Pushnotes')=>array('index'),
	$model->pushid,
);
?>

<h1><?php echo Yii::t('base','View Pushnote')?> #<?php echo $model->pushid; ?></h1>

<?php $this->widget('zii.widgets.CDetailView', array(
	'data'=>$model,
	'attributes'=>array(
		'pushid',
		'create_user',
		'content',
		//'platform',
		//'application',
		array('name'=>'platform','headerHtmlOptions'=>array('style'=>'width:10%'),'value'=>Application::model()->getplatformName($model->platform)),//0表示android,1表示ios		
		array('name'=>'application','headerHtmlOptions'=>array('style'=>'width:8%'),'value'=>Application::model()->getApplicationName($model->application)),
		'remarks',
		'delete',
	),
)); ?>
